import 'dart:convert';
import 'package:demo_xm/generated/json/base/json_field.dart';
import 'package:demo_xm/generated/json/base_bean.g.dart';

@JsonSerializable()
class BaseBean {

	late int code;
	late String message;
  
  BaseBean();

  factory BaseBean.fromJson(Map<String, dynamic> json) => $BaseBeanFromJson(json);

  Map<String, dynamic> toJson() => $BaseBeanToJson(this);

  @override
  String toString() {
    return jsonEncode(this);
  }
}